HID touch screen driver installation for Mandriva 2010 a
(C) 2010 AIM TOUCH TECHNOLOGY CO.,LTD.

==============================================================================
QUICKSTART GUIDE
==============================================================================
I. Installsation guide

1. Open terminal

2. Login as root user
# sudo -s
3. Execute setup.sh
# sh setup.sh
4. Add the following lines into xorg.conf(located in /etc/X11):
        
        Find "ServerFlags" section, add following line if there is no such setting.
        
        Option "AutoAddDevices" "false" 

5. Logout then login again.


II. Installation Notes for RS232 touch interface.

1. After finished steps above, please modify X11 driver

   a. Add the following lines into xorg.conf(located in /etc/X11):
        
        Find "ServerLayout" section, add following line if there is no such setting.

    	InputDevice 	"HID TOUCH" 

       (Note: If your system will not have a mouse, then use "CorePointer" instead of
         "SendCoreEvents" in the "ServerLayout" section.)

   b. Add the a new "InputDevice" Section as the following if there is no such setting:
   
Section "InputDevice"
        Identifier  "HID TOUCH"
        Driver      "xfhiddrv"
        Option      "Device" "/dev/ttyS0"
        Option	    "ScreenNo"	"0"
	Option	    "SwapY"	"0"
	Option	    "SendCoreEvents"	"true"
EndSection

     (Note:In "Device" item, "/dev/ttyS0" may be different depends on which COM port is connected.)

        "/dev/ttySx"    x=0,1,..., n (ttyS0 means COM1, you can modify it by this rule) 

   c.  After modify these settings, please type
       #reboot 
       to restart X server. 

III. Setup and run Linear Utility:

   a. Run linearity utility
      I. USB HID device
      #LinearAp  /dev/usb/hiddevx n
      II. RS232 device
      #LinearAp  /dev/ttySx n
      where x=0,1,2...n, n = 4 or 9 <default>  
      
      
